<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>滑县公安信息网</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <%
		int classid=5;
		if(request.getParameter("classid")!=null && request.getParameter("classid").trim().length()>0){
						classid=Integer.parseInt(request.getParameter("classid"));
		}
%>
<body>
  <%@ include file="inc/head.jsp" %>
<table width="1002" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="223" align="center" valign="top" bgcolor="#FFFFFF">
    	<%@ include file="inc/left.jsp"%>
    </td>
    <%
    	LinkDAO  linkDao = new LinkDAO();
    	List<Link> linkList = linkDao.findPageBySql(Link.class,1,14,"where linkClass.classid="+classid+" order by linkOrder");
    	Link l1 = linkList.get(0);
     %>
    
    <td align="right" valign="top" bgcolor="#FFFFFF">
	<table width="793" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="32" align="right" valign="middle" background="${images}/wzdh.gif">
	<table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="760" height="25" align="left" valign="middle" class="dhwz_wz2"><%=l1.getLinkClass().getClassName() %></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <table border="0" cellspacing="0" cellpadding="0">
       
       <%
          for(int li=0;li<linkList.size();li++){
          		Link linkk = linkList.get(li);          		
          
        %>
        <tr>
        	<td class="p_list1_dot"><img src="${images}/dot1.gif" /></td>
        	<td class="p_list1_bt">
        		<a href="<%=linkk.getWebUrl() %>"><%=linkk.getWebName() %></a>
        	</td>
        	<td class="p_list1_sj p_list1_date">&nbsp;</td>
        </tr>
        <%
        	}
         %>
    </table>
    
     </td>
  </tr>
</table>
<%@ include file="inc/foot.jsp" %>
</body>
</html>

